@extends('layouts.default')
@section('title','重置密码')
@section('content')
    <div class="offset-md-2 col-md-8">
        <div class="card">
            <div class="card-header d-flex justify-content-center pt-3">
                <h5>重置密码</h5>
            </div>
            <div class="card-body">
                @include('shared._errors')
                <form action="{{route('password.reset')}}" method="POST">
                    @csrf
                    <input type="hidden" name="token" value="{{$token}}"/>
                    <div class="mt-3">
                        <label for="email">邮箱</label>
                        <input type="email" id="email" name="email" class="form-control" value="{{old('email')}}"/>
                    </div>
                    <div class="mt-3">
                        <label for="password">新的密码密码</label>
                        <input type="password" id="password" name="password" class="form-control"/>
                    </div>
                    <div class="mt-3">
                        <label for="password_confirmation">密码确认</label>
                        <input type="password" id="password_confirmation" name="password_confirmation" class="form-control"/>
                    </div>
                    <div class="mt-3 d-flex justify-content-center">
                        <button type="submit" class="btn btn-primary">确认修改</button>
                    </div>
                </form>
            </div>
        </div>
    </div>
@stop
